package cn.zniot.so.transport.asynpack;


/**
 * 逻辑控制报文
 */
public class LogicPacketC extends AsynPacketC {
	
	/**
	 * 格式如:!CH+1234,0#
	 */
	private byte[] command;// 指令字符串
	
	public LogicPacketC(byte[] command) {
		super(PacketType.LOGIC_D);
		this.command = command;
	}
	
	public LogicPacketC() {
		super(PacketType.LOGIC_D);
	}
	
	public byte[] getCommand() {
		return command;
	}

	public void setCommand(byte[] command) {
		this.command = command;
	}

}
